//
//  DCRegisteredViewController.m
//  商城
//
//  Created by runone02 on 2018/8/29.
//  Copyright © 2018年 liqiyun. All rights reserved.
//

#import "DCRegisteredViewController.h"
#import "VerificationView.h"

@interface DCRegisteredViewController ()
/** 注册*/
@property (nonatomic,strong) VerificationView *verificationView;
@end

@implementation DCRegisteredViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self loadverificationView];
}

- (void)loadverificationView{
    self.verificationView = [[VerificationView alloc]init];
    [self.verificationView.loginButton setTitle:@"注册" forState:UIControlStateNormal];
    [self.verificationView.loginButton addTarget:self action:@selector(loginButtonClick:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:self.verificationView];
    [self.verificationView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(kTopBarHeight);
        make.left.right.bottom.mas_equalTo(self.view);
    }];
}

- (void)loginButtonClick:(UIButton *)btn{
    
}
@end
